namespace CSharpPro._0922;

public class Year
{ 
    public int year;

    public Year(int year)
    {
        this.year = year;
    }

    public bool isLeapYear()
    {
        if ((year % 4 == 0 && year % 100 != 0) || year / 400 == 0)
        {
            return true;
        }

        return false;
    }
}